package org.ghost.wechat.platform.dto.wechat.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

import java.util.List;

/**
 * @author 01
 */
public class WeChatBatchGetUserUnionRspDTO extends WeChatErrorRspDTO {
    private static final long serialVersionUID = -7584357780013686101L;

    private List<WeChatUserUnionInfoRspDTO> userInfoList;

    public List<WeChatUserUnionInfoRspDTO> getUserInfoList() {
        return userInfoList;
    }

    @JsonProperty(value = "user_info_list")
    public void setUserInfoList(List<WeChatUserUnionInfoRspDTO> userInfoList) {
        this.userInfoList = userInfoList;
    }

    @Override
    public String toString() {
        return "WeChatBatchGetUserUnionRspDTO{" +
                "userInfoList=" + userInfoList +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
